/*
 * @Author: your name
 * @Date: 2021-12-20 13:12:39
 * @LastEditTime: 2022-03-15 15:40:59
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /visualNotes/src/models/user/index.ts
 */
import { UserDTO } from "@/service/users";
const initialValues: UserDTO = {
  UUID: "",
  userName: "",
  email: "",
  role: "",
  avatarUrl: "",
  gender: "",
  number:"",
};
export const user = {
  state: initialValues,
  reducers: {
    updateState(state: any, payload: UserDTO) {
      return {
        ...state,
        ...payload,
      };
    },
  },
  effects: () => ({}),
};
